﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Interfaces
{
    public interface IScheduler
    {
        event Action<ICommand> Tripped;

        void LoadOperations(List<IOperation> operations);

        void ExecuteOps();

        List<IOperation> GetOperations();

        bool Add(IOperation operation);

        bool Add(List<IOperation> ops);

        bool DeleteOperation(string name);

        bool DeleteOperations(List<string> names);

        bool DeleteOperations();
    }
}
